﻿using Microsoft.ExtendedReflection.ComponentModel;

namespace MolesVS2012.Host
{
    internal sealed class MolesVsHostOptions : EngineOptions
    {
        public static MolesVsHostOptions FromEnvironment()
        {
            MolesVsHostOptions molesVsHostOptions = new MolesVsHostOptions();
            molesVsHostOptions.Diagnostic = MolesVsHostEnvironmentSettings.Diagnostic.Value;
            molesVsHostOptions.Verbosity = MolesVsHostEnvironmentSettings.Verbosity.Value;
            molesVsHostOptions.SilverlightVersion = MolesVsHostEnvironmentSettings.SilverlightVersion.Value;
            return molesVsHostOptions;
        }
    }
}
